#version 460
#extension GL_GOOGLE_include_directive : enable
#extension GL_EXT_shader_explicit_arithmetic_types_int64 : require


#include "../../../../core/shader_std.h"
#include "../../../../core/shader_built_in_functions.h"
#include "../../../../core/shader_color.h"

layout(lines) in;
//layout(triangle_strip, max_vertices=64) out;
layout(line_strip, max_vertices=2) out;


layout(std430, set = 3, binding = 1, scalar, column_major) readonly buffer U_1 {
	uvec3 edgeIndex[];
};



in gl_PerVertex {
	vec4	gl_Position;
} gl_in[];
layout(location = 0) in vec4 vColor[];

out gl_PerVertex {
	vec4	gl_Position;
};
layout(location = 0) out vec4 gColor;


void main(void){
	
	for(int i=0; i < 2; ++i){
		
		gl_Position = gl_in[i].gl_Position;
		
		gColor = vColor[0];
		
		EmitVertex();
	}
	EndPrimitive();
}



 